package com.vhall.component.entity.anchors.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * AnchorManageCreateVO-
 *
 * @author xing.wang
 * @date 2022/9/29
 */
@Data
public class AnchorManageCreateVO implements Serializable {

    @ParamName(value = "anchor_id")
    @JsonProperty(value = "anchor_id")
    private Integer anchorId;

    /**
     * 头像
     */
    @Size(max = 200, message = "头像 字符过长")
    @ParamName(value = "avatar")
    @JsonProperty(value = "avatar")
    private String avatar;

    /**
     * 姓名
     */
    @NotBlank(message = "姓名 不能为空！")
    @Size(max = 20, message = "姓名 字符过长")
    @ParamName(value = "real_name")
    @JsonProperty(value = "real_name")
    private String realName;

    /**
     * 讲师角标
     */
    @Size(max = 200, message = "讲师角标 字符过长")
    @ParamName(value = "corner_mark")
    @JsonProperty(value = "corner_mark")
    private String cornerMark;

    /**
     * 执业编号
     */
    @Size(max = 128, message = "执业编号 字符过长")
    @ParamName(value = "career_id")
    @JsonProperty(value = "career_id")
    private String careerId;

    /**
     * 讲师简介
     */
    @Size(max = 200, message = "讲师简介 字符过长")
    @ParamName(value = "trainer_introduction")
    @JsonProperty(value = "trainer_introduction")
    private String trainerIntroduction;

    /**
     * 是否推荐 默认不推荐 >0|不推荐,1|推荐
     */
    @ParamName(value = "recommend")
    @JsonProperty(value = "recommend")
    private Integer recommend;

    /**
     * 企业微信二维码
     */
    @Size(max = 200, message = "企业微信二维码 字符过长")
    @ParamName(value = "qr_code")
    @JsonProperty(value = "qr_code")
    private String qrCode;


}
